physics_particle_group_delete(ind)
参数 | 描述 |
---|---|
ind | The index (ID) of the particle group to delete. |
返回: N/A(无返回值)
With this function you can delete (remove) a particle group from
the physics simulation in the current room. The function takes the
unique group ID of the group to delete, as returned by the function
physics_particle_group_end().
physics_particle_group_delete(gp1);
The above code will delete all the particles that comprise the group with the ID stored in the variable "gp1" from the simulation.